package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 信息纠错对象 correct_info
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("信息纠错-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "correct_info")
public class CorrectInfoEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 医院关连id
	 */
	@ApiModelProperty("医院关连id")
	private Long hosId;

	/**
	 * 用户id
	 */
	@ApiModelProperty("用户id")
	private Long userId;

	/**
	 * 纠错内容
	 */
	@ApiModelProperty("纠错内容")
	private String content;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date creTime;

	/**
	 * 纠正状态
	 */
	@ApiModelProperty("纠正状态")
	private String correctStatus;

	/**
	 * 删除标志
	 */
	@ApiModelProperty("删除标志")
	private String deleted;

	/**
	 * 机构类别(01 医院)
	 */
	@ApiModelProperty("机构类别(01 医院)")
	private String theType;

}
